WCPay\WC_Payments_Checkout A

Total Complexity 68
Dependencies 16
Dependents 3
Total lines 522
Lines of code 316
Logical lines of code 146
Comment lines 140
Methods 13
Properties 5

Methods 13

Method Rating Maintainability Complexity Lines of code
payment_fields()
B
34 19 95
get_payment_fields_js_config()
B
31 16 100
register_scripts_for_zero_order_total()
S
62 7 12
should_upe_payment_method_show_save_option()
S
65 6 9
get_enabled_payment_method_config()
S
60 4 13
get_config_for_payment_method()
S
51 3 25
register_scripts()
S
57 3 18
maybe_load_checkout_scripts()
S
72 3 5
get_all_payment_method_config()
S
67 2 8
set_gateway()
S
73 2 5
init_hooks()
S
61 1 12
__construct()
S
69 1 7
load_checkout_scripts()
S
69 1 7